package com.example.entity.retail;

import com.example.entity.user.User;

import java.util.Set;

public class UserRetail extends User {
    private String bio; //用户简介
    private Set<PostRetail> postRetails;//用户发布的所有商品
    private Set<CommentRetail> comments;//用户发表的所有评论
    private Set<LikeRetail> likes; //用户所有点赞的记录

    public String getBio() {
        return bio;
    }

    public void setBio(String bio) {
        this.bio = bio;
    }

    public Set<PostRetail> getPostRetails() {
        return postRetails;
    }

    public void setPostRetails(Set<PostRetail> postRetails) {
        this.postRetails = postRetails;
    }

    public Set<CommentRetail> getComments() {
        return comments;
    }

    public void setComments(Set<CommentRetail> comments) {
        this.comments = comments;
    }

    public Set<LikeRetail> getLikes() {
        return likes;
    }

    public void setLikes(Set<LikeRetail> likes) {
        this.likes = likes;
    }
}
